﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Media;

namespace FrameEngine
{
    /// <summary>
    /// 空的命令UI
    /// </summary>
    public class NullCommandUi : ICommandUI
    {
        #region ICommandUi Members

        public void SetCaption(string pCaption)
        {
        }

        public void SetToolTip(string pToolTip)
        {
        }

        public void SetImageSource(ImageSource pImageSource)
        {
        }

        public void SetCheckedState(bool pIsCheced)
        {
        }

        public void SetEnabledState(bool pIsEnabled)
        {
        }

        public void SetVisibleState(bool isVisible)
        {
        }


        public ICommand GetCommand()
        {
            return null;
        }

        #endregion

        public void OnClick()
        {
        }
    }
}
